import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import VueCookies from 'vue-cookies'
import API from '@/utils/request'

const app = createApp(App)

// 挂载全局
app.config.globalProperties.$http = API 
app.use(createPinia())
app.use(router)
app.use(VueCookies)

app.mount('#app')
